﻿using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Newtonsoft.Json;

namespace Open.Product.Domain.Dto
{
    /// <summary>
    /// 商品库存模型
    /// </summary>
    public class GoodsStockInput
    {
        /// <summary>
        /// 商品ID
        /// </summary>
        [JsonConverter(typeof(GuidToStringConverter))]
        public long SkuId { get; set; }
        /// <summary>
        /// 店铺ID
        /// </summary>

        public long StoreId { get; set; }

    }

    /// <summary>
    /// 库存输入模型
    /// </summary>
    public class GoodsStockAllRequset
    {

        public List<GoodsStockInput> item { get; set; }
    }
}
